//
//  VOHMVRecommendModel.m
//  VoiceOfHeart
//
//  Created by 吉龙 on 16/8/19.
//  Copyright © 2016年 吉龙. All rights reserved.
//

#import "VOHMVRecommendModel.h"

@implementation VOHMVRecommendModel
- (id)initWithId:(NSNumber *)albumId
{
    self = [super init];
    if(self){
        self.albumId = albumId;
    }
    return self;
}

+ (id)recommenModelWithId:(NSNumber *)albumId
{
    VOHMVRecommendModel *recommenModel = [[VOHMVRecommendModel alloc]initWithId:albumId];
    return recommenModel;
}



- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if([key isEqual:@"description"]){
        self.descriptiontt = value;
    }
    if([key isEqual:@"id"]){
        self.albumId = value;
    }
}

- (id)valueForUndefinedKey:(NSString *)key
{
    return nil;
}



@end
